﻿//----------------------------------------------------------------------- 
// PDS WITSMLstudio Desktop, 2018.1
//
// Copyright 2018 PDS Americas LLC
// 
// Licensed under the PDS Open Source WITSML Product License Agreement (the
// "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//   
//     http://www.pds.group/WITSMLstudio/OpenSource/ProductLicenseAgreement
// 
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//-----------------------------------------------------------------------

using System.Runtime.Serialization;

namespace PDS.WITSMLstudio.Desktop.Core.SaveWindowState
{
    /// <summary>
    /// Defines properties that can be used to persist the current application environment settings.
    /// </summary>
    [DataContract]
    public class WindowSettings
    {
        /// <summary>
        /// Gets or sets the window placement XML.
        /// </summary>
        /// <value>The window placement XML.</value>
        [DataMember]
        public string WindowPlacement { get; set; }

        /// <summary>
        /// Gets or sets the index of the current plugin.
        /// </summary>
        /// <value>The index of the current plugin.</value>
        [DataMember]
        public int CurrentPluginIndex { get; set; }
    }
}
